Route all environment URLs into environment.php
Route all user URLs into profile.php
Add comment. Remove space.
Rename profile.php. Add PHP classes.
Merge branch 'master' into env-user-controller
If username doesn't exist, fallback to userId. Change #user-message accordingly.
Differentiate between whether the URL contains a userId or username. Store timestamp of new user.
Use hyphens in filenames
Remove unnecessarily specific filepaths
Move database logic into models. Rethink front-view to provide better 404 handling. Simplify userHandleColumn logic. Echo out data on user-profile and environment pages.
Pull user's cloned environments from database
Remove static user and env views
Remove directory index logic from front-controller
Only return environments for that user
If user is viewing their own profile, show the 'Clone a new environment' link. If user doesn't have any environments, show a different message.
If URL is /env/new, route to new-environment.php
Only get environments if user exists. Only perform userId match if signed in
Use scope resolution operator to allow access to class functions without having to instantiate them
Merge pull request #23 from Precise-Pixels/env-user-controller

[READY] Env & User controllers