Added sorting and filtering resolves #17

Created sorting and filtering functionality as described in the issue.
Added button for log out.