Added test for logger
refactored area auth
refactored area