Revert "Had the if on the wrong div."

This reverts commit 9537451f78c9dc9441487042456530a676ba82ad.
Revert "Add return of gid to login service."

This reverts commit 7138436b4ffecc7fafd5fce7f122cd683454af25.
Revert "Corrected variable."

This reverts commit a5b7c0f4ab60c4d3d156ba5f643055603c7baa26.
Revert "Changed alert."

This reverts commit fb9f35f4bdaf4011f1923da125028c67574da387.
Revert "Added alert for debugging."

This reverts commit 48244bd581e9cedd25fd90bef6c4083e71786f9a.
Revert "Added }"

This reverts commit 29bee43fff2aa9b36618f0457ed6d994788e94f5.