Basic user authorization. (WILL be replaced by actual IPA related code)