deleted alerts when login and registration succeeded
created AuthDelegate Class to handle common use of NSURLConnectionDelegate methods from RegisterController and Login Controller