added the login screen and api to perform online operations