Code for triggering the AsyncPlayerPreLoginEvent and PlayerLoginEvent

I did some simple tests to see if it was working, but nothing too extensive.