finished adding user functionality.