Log user in upon registration