added checks to the signup class

these check make sure the enterd username and password are the right
lenght and format