re-re-fixed login authentication once again.
fixed attending events routing issue and my events.
pushing most recent changes, nothing significant has changed in terms of functionality and still working on user authentication through swift.