small header if logged in
js refactor
redirect to analysis history after log in