Corrected password management page, cleaned up old code