Updated logic for registration. Only taken to Registration page if
username does not exist