Added ability to change permissions for user. #147