#21 Fixed access to admin's pages

Fixed access to admin's pages.
Added test.
`role2` is not the best name for var here. Will be more descriptive if you use smt like regular… basic… non_admin…