added login functionality to settings page