defining db tables in model, also working on fb login