pushed login validation to model
added message composition
added deadbolt2 dependency