Finished login/out system with session