Firebase  and posting works
added some directives, login functionality