Login issues fixed