Added vaildations and access token for registering user