Fixed issues in Login.....