added database_cleaner dep, added tests for authenticate and createuser
added bcrypt dep and wrote encryptPassword; indirectly finished testing create_user (test is in setup for other tests)
fixed use strict declaration and added work factor comment
Fixed typo in arylib:authenicate test
Added routes file dependency, allowing server to boot
Added index view
wired up modals, added username-checking ajax

added modal data-toggle targets to the navbar register and login links
dded username-checking ajax which queries our unwritten user api while a user is signing up,
then adds a check or cross depending on status of username (available or not.)
Cleaned up indendation in index.ejs html
tdd to bdd; rewrote auth; added getuser, getuserbyid; rewrote encrypt, salt; added passport logic;

changed testing style from tdd to bdd. commented out all old tests, got db suite passing again.
added some utility db access functions, getuser and getuserbyid used for the passport auth logic.
rewrote encryption and salt routines to be ansynchronous. sync code was the problem previously.
added some logic from passport auth library example to handle login and sessions.
Rewrote authenticate in async; added vardecs to FindBy names; refactored BeforeEach on arylib tests; wrote auth & createuser tests

authenticate function was calling encryptPassword in a sync fashion; rewritten and working
'name' variables in the FindByName and FindById functions. just realized though that they were already written in arylib. i think it belongs in db though.
moved beforeEach call to outside of createUser suite because most every test needs a user.
wrote authenticate and createuser tests