cleaning layout for loggedin users