refactoring controllers
refactoring models
added function get session user id after login
fixed update role with checkbox