update style
fix css on header
show history for manager
fix error on complex direction, some ui fixes
add test for tr
add new alogoritm for login: save ip and user_agent