adds roles method to application