Prevent users from viewing admin page and vice versa
Fixed redirect