Remember me auth, upgraded jquery and converted to mysql