fixed magic numbers
added user detail view
added user detail template
added a few helpful functions
added url for users.detail