Adding login features