Hash$password with md5 on check login
Check if user has access to API section
Moved set language functionality to lang_model