added flash fadeout
wrapped js in self invoking function)
added initial test config and tests for user model