Login seems to be working, but the session setting is still buggy
Login operation working now