Created access script with login/register and error message reporting