Security Login completed

Basic login model in place with sessions and encryption