added seeds and fixing ajax