Made Settings page work (could use beautifying)