PHP : merged user controller