- Make the login working with session and database