more roboust code of doing the same as the previous
actually working this time
fixed issue with segueing to Sign Up page