moved connectivity check in login handler
performing login process in separate async task (can't do this in the main ui thread)
added declaration for MainActivity in manifest