Function for giving points to user