Create validatelogin.php

This file validates the login page by checking whether the given input is valid or not.