worked on login and login detail button