create security autentication
refactor login controller
added service who redirect to login page if respond is 401 or user pres button logout