Added session and login page