Added functionality to request login from backend.