Created login tests
Added functionality to create subjects