signing in using RAC and flatenMap: function