UserManager fix

Fixed database connection in DatabaseUtility.java, fixed bugs and altered implementation of UserManager.java. All user database access methods should work and authenticate correctly now.