Added basic validation to signup form; Trying to make $http work