My webpage get stuck (ENC28J60 and Arduino)

I am using Arduino UNO with ENC28J60 ethernet module. My project is on securing room by a password. The issue is when I take input from keypad, my webpage get stuck. Before getting enter to keypad function, by webpage works properly. What should I do?

Concentrate hard on the code on your screen, and we'll attempt to read your mind.

This is is basic overvoew of the code that i’m currently using

#include <Password.h>
#include <Keypad.h>
//////////////////////////////////
#include <EtherCard.h>
// ethernet interface mac address, must be unique on the LAN
static byte mymac[] = { 0x74,0x69,0x69,0x2D,0x30,0x31 };
static byte myip[] = { 192,168,1,2 };
byte Ethernet::buffer[500];
BufferFiller bfill;
/////////////////////////////////
const byte ROWS = 4; // Four rows
const byte COLS = 4; // Three columns
// Define the Keymap
char keys[ROWS][COLS] = {
{‘1’,‘2’,‘3’,‘A’},
** {‘4’,‘5’,‘6’,‘B’},**
** {‘7’,‘8’,‘9’,‘C’},**
__ {’*’,‘0’,’#’,‘D’}__
};
byte rowPins[ROWS] = { 10,9,7,6 };// Connect keypad ROW0, ROW1, ROW2 and ROW3 to these Arduino pins.
byte colPins[COLS] = { 5,4,3,2, };//connect to the column pinouts of the keypad

Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
unsigned int num=0;
void setup () {
** Serial.begin(9600);**

** if (ether.begin(sizeof Ethernet::buffer, mymac) == 0)**
** Serial.println( “Failed to access Ethernet controller”);**
** ether.staticSetup(myip);**

}
void hello()
{
** word len = ether.packetReceive();**
** word pos = ether.packetLoop(len);**

** if(pos) { **

** BufferFiller bfill = ether.tcpOffset();**
** bfill.emit_p(PSTR(“

hello

”**
** “”));**
** ether.httpServerReply(bfill.position());**
** }**
}
void helloo()
{
** word len = ether.packetReceive();**
** word pos = ether.packetLoop(len);**

** if(pos) { **

** BufferFiller bfill = ether.tcpOffset();**
** bfill.emit_p(PSTR(“

bye

”**
** “”)); **
** ether.httpServerReply(bfill.position());**
** }**
}
** int count=0;**
void loop () {

** char key = keypad.getKey();**

if (key==‘1’)
{
** hello();**

}
else
{
** helloo();**
}
}

/////////////////////////////////////////