Implemented iteration between Profile and server list (Fix deallocation of profile)