Added primitive template statistics, reworked loggining. Also, test confirmint sms from user profile page. It works correctly.