refactored index, moved js into separate files, created users page