Fixed logout error and updated css