redirect after succesful registration fixed