a rails login framework combined with oauth