23/12/2013 evening heng

fixed bugs for login page