Added secure login/register