fixing navbar bug and preventing submit on enter in the signup form which would add problems