Fix trait extending bug
Add login requirement to the HAPI