api for login and notification for mobile app