Added the login screen and API to perform online post requests.