case insensitive search in mongodb and opening new page if user name is available