Added session check to login page

Added session check to login page to prevent logged in user from accessing it.