Creating the authorization PHP for the mobile app