Removes login form and unused pages