added measure to includes
login working and redirecting