Revised Sale Space App 3.23.2014

Revised Admin route for friendly urls

Revised routes on the eCommerce Site
- Not alias specific but generally applied to all suppliers

Capture site info and store info upon login for suppliers

Trial Application
- Check if user is logged in and check if the user has set up the store
for the first time

Store set up wizard
- Ables the user to set up the store for the first time

Media
- Converted media upload as library
- Enables the developers to re use not just for the media section but
for other single uploads

Dashboard
- Added dashboard Page
 - Counted
 	1. Active Products
 	2. Pending Orders
 	3. Sales - Dummy Data
 	4. Total Profit - Dummy Date

Store settings
- Suppliers can update store settings
	- Name and description of store
	- alias for store
	- Update company logos instantly

- Store Set up
	- The admin will not be available for the supplier instantly until
setting up the store for the first time
	- Save site info and store info
	- Registers the supplier to the system as trial

Store alias detection
- Redirect users to sale space home page if store alias is not found

Links
 - Added links on the Sale Space home Page and will redirect to '/admin'
 	- Admin detects if supplier or buyer then loads the store if supplier
and otherwise for buyers
- Added logout link functionality on the Sale Space Admin Panel
- Added dashboard link to the side bar
- Added Profile link to side bar
- Added view store link to side bar
- Removed unncessary link to the Sale Space Admin - Store name link

Categorize Product display
- Display Products per category
	- Parent if "all"
	- and child if specified

Handlers
- Created handlers for POST and other parameters passed within some
functions