Making username and password required