added tests for user / gadget model and user_controller, minor layout changes