Log user in automatically after registration