Local user authentication. basic app, learning proccess