Fixed issues regarding validation on index page

The validation works properly now, the user wont be allowed to login
unless they enter a username and select an instrument that isnt already
in use