added some user functionality