Update loginproc.php

Guess I didn't test logging in until now. Haha