add index middlewave by fb login, #8