Change alert messages style and fix problem with log out