Added giving permissions feature