Started on database and fixed issue with picture delete button.

Signed-off-by: Charlie <chaz2505@hotmail.com>