Update login.php and register.php

Username, password or email shouldn't be empty!