some fixes with user login and implemented search/filtering on documentList