Fixes to the bugs that team 3 found(passwordvalidation working, phone validation working, password is required, error thrown for no password, team captain gets assigned a team if he creates a team