complete refactor to angular fire obj, new views

Now updating and deleting elements from the chat window when the db has
been updated or deleted, added new views for chat and login register,
cleaned the main view