Fix principal registration
Do not send uid and token to client
use replace PDO query with Elohuent Query Builder for pingAltas()
Use Laravel QBuilder in DataController