Please have a look here,
https://world.mendix.com/display/howto50/2b.+Fluent+login+experiences+with+different+types+of+user+accounts
Goto project / security and set security level from off to production.
Regards,
Ronald