authentication for rails 3 based on omniauth