added login features