Implemented basic security and authentication through firebase