Fixed bug with login ajax postback