Actually fixed login and created a /is_loggedin page