updated header to display link to admin panel if user is admin

other:
- - -  fixes in security view to support new roles from db
- - - removed unused root factory in __init__.py
- - - renamed model_tests to tests_model
- - - css updates regarding tests