setting up user actions