changed style of main.controller createRoom method to use .then