Correct bug regarding not detecting logging in correctly.

includes/usermanagement.inc.php - corrected logedin to loggedin

view/login.html.php - created some debugging code that allowed me to see
what the issue was with my trying to detect if the person was logged in
or not.  Debug code reveals information about internal workings of
program, should be removed prior to going to v 0.0.1