Fixed bugs with sessions and added session cookie creation
Finished login page