home grown authentication and registration