Fixes inherited state params and cleans code
creates User Sign In form