avatar form to verticalalign text-top
removed extra </a> from $loginlink