Registration now also logs a user in