added loading animation to the login/register forms