sql structure updated, small improvements front and backend