remove session, redirect to main if user is logged in