should be obvious, accepts a $_GET variable to display error messages: error=<credentials|session>
this file
does some tasks for login and redirects to the user’s personal feed page