Added spnrs page and logout functionality