Revert "Revert "Added }""

This reverts commit 073abe00bab0deeac7b8d3e55b444cccc49aee6c.
Revert "Revert "Added alert for debugging.""

This reverts commit 1e6327173b80482f185e3a093f4f30ae36c0ca17.
Revert "Revert "Changed alert.""

This reverts commit 8a56a192d9121d53bd240f3c127e3442d402892d.
Revert "Revert "Corrected variable.""

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

This reverts commit 66a67ae47ab08b9a30078d8a1cc912c6d4b36fdd.
Revert "Revert "Had the if on the wrong div.""

This reverts commit 1f530cc643214944f3a76ee015e8ffb547ebc046.
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.
Revert "Removed loged in user from friends list."

This reverts commit 215bf502e37e3b3d7b3ec13fdfa33e27d3b9cbbb.