added login functionality

added login functionality