Finished login/logout with connection with user from DB