add user menu function