Artehr: Changed the login functionality