adding login method
updates