Added a result layout and permanent saved auth data in cookies