ANTARCTICLE-276 changed approach of checking authentication and refactored repository