added more login features