changed name of id_gsm field to gsm
cleaning permissions
refactoring