COde commit after competing registartion, login, logout and showing menu according to login. on 2014-08-12 1:54AM(IST)