core functionality for users + link shortening complete :)