Added initiate user method in user class to check if user exits in db or not

This class is to check if user exists and returns a boolean value.