add login functionality