Check inputs

Checks the inputted password against the hashed password in the database. Still needs some session data.