changes to api and lobby

made changes to api as per jacks request. and made some updates to the
lobby. still has some bugs that will be worked on in the coming days.