Added conditional create user link to new key page
Fixed edit user link in user list template
Added id in SQL statement for edit links in user list
Changed SQL statements to uppercase
Added user edit functionality