Added getFarmerID to DatabaseHandler and fixed some minor stuff in Register