Add option to skip user confirmation for API
Add API endpoint for login