Refacto/user

I was a bit stressed by current endpoints & "provider" so I refactoed the thing for better code understanding and better code updating/removing efficiency.