User authentication via localStorage implemented