moved github and facebook support to the backend

and an index on username + provider in User model
add controllers for github and facebook support in backend