Bug fixes

Restored login.php on frontend.