login modified without ajax