registration function is working, still needs error messages instead of activerecord failures.