Check for session table first before trying to update it
Make login controller extend the base controller