working rmauthviewcontroller, still needs tweaks