got errors and redirect working for user creation