change require values
fix login refirect