fixing login + cookies + sidebar