database returns last element for a particular user when queried. minor
bugs fixed on weight and settings pages