writing user_check function and connect it to button