added question and answers funcionality and validation