1. support for printing  the code instead of redirecting to it
2. add client secret
3. ui tweeks