Added a session variable to store user id logged in