added verification algorithm for new users