Login partially complete
Merge branch 'master' of https://github.com/johnyscrazy/ipm_clipped