fixing login.php

fixes made during group meeting