implemented login api call
show alert on registration error
connect login functionality in login screen