started adding user functionality