Added afnetworking, fixed new login, minor improvements