Added Main file

Added Main file
Created function UserHasSet