Fix redirect bug

When new users sign up, they are not redirected towards home on account creation. A 201 response code was missing