fixed gulp task, added login and search functions