kwchen3 ssong25 : saving profile_id during login