redirect to sigin page after registering + proper error message