Started work to show edit functions only to logged in users