changed register stuff

redirects to login upon successful registration