Added removing profile function
added autocomplete functional