updated version const
added regexp for username validation
added login type option
added CHANGELOG
fix