EDiary.Master.cs - added "isNull" condition for session["User"] on page_load. RegisterMaster.aspx - added jquery dialog. Dialog is shown after successfull registration. Also, redirection to login page after successfull registration is now active from jquery Dialog() function.