Identity model
refactor
sessions new
model fixed
Fixed typo & add on_failure
identities controller