implementation of login action for attendant