add functions I think are necessary to both user and administrator