added choosing language for user

fixed error, when we do not support user language

test default lang

save lang to db

added logging to get_locale

test babel

made normal language selection