Fixed problems with Custom exercises and the online databse. Also added input validation for custom exercise  name.