Implement integrated security (Form Authentication)

Change primary keys to int to work with integrated security