fixed error when logout
style changes on apartemnt show page