#21 Fixed access to admin's pages

Fixed access to admin's pages.
Added test.
will be better to use new rspec syntax, 
```ruby
expect(response).to redi…
```