move login method out for now

should wait until connection is complete before running