Fixed some bugs

Created authentication “wall” between admin and frontend areas