bugfix
fixed passed id to record page
userMgmt.php error popup

smal attempt to get errors to pop up when buttons are pressed because
functionality is not done yet. Couldnt login to finish...then had to
leave.
login fix / db update

relations are now enforced
continue record functions
Merge pull request #49 from Align/matt-dev

Enforce DB Relations!
Merge remote-tracking branch 'origin/master' into Graham