Made the register controller automatically log the new user in
Updated version file