minor changes on login added