Implemented loggin feature and tested secured area checking.