marking username and password as required fields