Hash Library

the library class is added that can do salted hashing.
Login check

the model and controller of the login are now working and ready to be used by
ajax. on the other hand the ajax in view code is almost complete.
register model code refactored

some curley braces and white spaces are omitted.
register

Save register form's data to database
register

Save register form's data to database
register

Complete the register part
Merge remote-tracking branch 'origin/aram_time' into ehsan_time

Conflicts:
	.idea/workspace.xml
	application/config/config.php
Merge remote-tracking branch 'origin/aram_time' into ehsan_time

Conflicts:
	application/config/config.php
changes to the view

added a border to the dashboard page. added a sign out button to the page,
merge to ehsan_time

added the hash function
added the ajax for register
login works properly